<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/jquery.validate.messages.js"></script>
<script type="text/javascript" src="js/add.js"></script>
<style type="text/css">
	label.error{
		color: red;
		font-size: 12px;
	}
</style>

<title>用户注册</title>
</head>
<body>
	
	<div align="center">
		<h1>用户注册</h1>
		<s:actionerror/>
		<s:form id="addForm" name="addForm" action="emp_add.action">
			<%-- <s:textfield name="id" label="ID"></s:textfield> --%>
			<s:textfield name="username" label="用户名"></s:textfield>
			<s:textfield name="password" label="密码" type="password"></s:textfield>
			<s:textfield name="age" label="年龄" ></s:textfield>
			<s:textfield name="salary" label="薪资"></s:textfield>
			<s:textfield name="degree" label="学历"></s:textfield>
			<s:submit value="提交"></s:submit>
		</s:form>
	</div>
</body>
</html>